<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <title></title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <script src="https://unpkg.com/vue/dist/vue.js"></script>
        <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
        <script src="https://unpkg.com/lodash/lodash.min.js"></script>
    </head>
    <body>
        <div id="app1">
            <button v-on:click="counter++">增加1</button>
            <p>这个按钮被点击了{{counter}}次</p>
        </div>

    <script>
        var vm1=new Vue({
            el:'#app1',
            data:{
                counter:0
            }
        });
    </script>

    </body>
</html>